import axios from '../utils/request';

export const getQuestionsType = () => axios.get('/exam/getQuestionsType')
export const insertQuestionsType = (params) => axios.get('/exam/insertQuestionsType', params)
export const delQuestionsType = (params) => axios.post('/exam/delQuestionsType', params)
export const fetchSubject = (params) => axios.get('/exam/subject', params)
export const fetchExamType = (params) => axios.get('/exam/examType', params)
export const createQuestions = (params) => axios.post('/exam/questions', params)
export const fetchQuestions = (params) => axios.get('/exam/questions/condition', params)
export const updateQuestions = (params) => axios.put('/exam/questions/update', params)